MailPoet\Newsletter\Statistics\NewsletterStatisticsRepository A

Total Complexity 52
Dependencies 19
Dependents 7
Total lines 282
Lines of code 214
Logical lines of code 82
Comment lines 15
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
getWooCommerceRevenues()
A
45 10 41
getStatisticCounts()
A
51 10 26
getTotalSentCounts()
A
49 9 30
getBatchStatistics()
A
53 8 21
getChildrenCount()
S
61 2 14
getAllForSubscriber()
S
55 1 22
getStatisticsMachineOpenCount()
S
64 2 9
getStatistics()
S
62 1 12
getStatisticsOpenCount()
S
74 1 4
getEntityClassName()
S
82 1 3
getStatisticsUnsubscribeCount()
S
74 1 4
getStatisticsBounceCount()
S
74 1 4
getWooCommerceRevenue()
S
75 1 4
getStatisticsClickCount()
S
74 1 4
getTotalSentCount()
S
75 1 4
getStatisticsQuery()
S
68 1 8
__construct()
S
76 1 4